.spectrum-Stepper {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;

  width: var(--spectrum-global-dimension-size-900);
  line-height: 0;
  border-radius: var(--spectrum-global-dimension-size-50);
  transition: border-color var(--spectrum-global-animation-duration-100, 130ms) ease-in-out, box-shadow var(--spectrum-global-animation-duration-100, 130ms) ease-in-out;
}

.spectrum-Stepper::before {
  content: '';
}

[dir="ltr"] .spectrum-Stepper-buttons {
  border-top-left-radius: 0;
}

[dir="rtl"] .spectrum-Stepper-buttons {
  border-top-right-radius: 0;
}

[dir="ltr"] .spectrum-Stepper-buttons {
  border-top-right-radius: var(--spectrum-global-dimension-size-50);
}

[dir="rtl"] .spectrum-Stepper-buttons {
  border-top-left-radius: var(--spectrum-global-dimension-size-50);
}

[dir="ltr"] .spectrum-Stepper-buttons {
  border-bottom-right-radius: var(--spectrum-global-dimension-size-50);
}

[dir="rtl"] .spectrum-Stepper-buttons {
  border-bottom-left-radius: var(--spectrum-global-dimension-size-50);
}

[dir="ltr"] .spectrum-Stepper-buttons {
  border-bottom-left-radius: 0;
}

[dir="rtl"] .spectrum-Stepper-buttons {
  border-bottom-right-radius: 0;
}

.spectrum-Stepper-buttons {
  display: block;
  transition: box-shadow var(--spectrum-global-animation-duration-100, 130ms) ease-in-out;
}

[dir="ltr"] .spectrum-Stepper-stepUp,[dir="ltr"] 
.spectrum-Stepper-stepDown {

  padding-left: calc(var(--spectrum-global-dimension-size-150) / 2);
}

[dir="rtl"] .spectrum-Stepper-stepUp,[dir="rtl"] 
.spectrum-Stepper-stepDown {

  padding-right: calc(var(--spectrum-global-dimension-size-150) / 2);
}

[dir="ltr"] .spectrum-Stepper-stepUp,[dir="ltr"] 
.spectrum-Stepper-stepDown {
  padding-right: calc(var(--spectrum-global-dimension-size-150) / 2);
}

[dir="rtl"] .spectrum-Stepper-stepUp,[dir="rtl"] 
.spectrum-Stepper-stepDown {
  padding-left: calc(var(--spectrum-global-dimension-size-150) / 2);
}

[dir="ltr"] .spectrum-Stepper-stepUp,[dir="ltr"] 
.spectrum-Stepper-stepDown {
  border-left-width: 0;
}

[dir="rtl"] .spectrum-Stepper-stepUp,[dir="rtl"] 
.spectrum-Stepper-stepDown {
  border-right-width: 0;
}

[dir="ltr"] .spectrum-Stepper-stepUp,[dir="ltr"] 
.spectrum-Stepper-stepDown {

  border-top-left-radius: 0;
}

[dir="rtl"] .spectrum-Stepper-stepUp,[dir="rtl"] 
.spectrum-Stepper-stepDown {

  border-top-right-radius: 0;
}

[dir="ltr"] .spectrum-Stepper-stepUp,[dir="ltr"] 
.spectrum-Stepper-stepDown {
  border-bottom-left-radius: 0;
}

[dir="rtl"] .spectrum-Stepper-stepUp,[dir="rtl"] 
.spectrum-Stepper-stepDown {
  border-bottom-right-radius: 0;
}

.spectrum-Stepper-stepUp,
.spectrum-Stepper-stepDown {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  box-sizing: border-box;

  height: calc(var(--spectrum-alias-single-line-height, var(--spectrum-global-dimension-size-400)) / 2);
  width: calc(var(--spectrum-global-dimension-size-300) - var(--spectrum-alias-border-size-thin, var(--spectrum-global-dimension-static-size-10)));
  min-width: 0;
  margin: 0 !important;

  border-width: var(--spectrum-alias-border-size-thin, var(--spectrum-global-dimension-static-size-10));
}

.spectrum-Stepper-stepUp .spectrum-Icon, .spectrum-Stepper-stepDown .spectrum-Icon {
    margin: 0 !important;
    opacity: 1;
  }

[dir="ltr"] .spectrum-Stepper-stepUp {
  border-bottom-right-radius: 0;
}

[dir="rtl"] .spectrum-Stepper-stepUp {
  border-bottom-left-radius: 0;
}

.spectrum-Stepper-stepUp {
  border-bottom: none;

  padding-top: var(--spectrum-global-dimension-size-10);
}

[dir="ltr"] .spectrum-Stepper-stepDown {
  border-top-right-radius: 0;
}

[dir="rtl"] .spectrum-Stepper-stepDown {
  border-top-left-radius: 0;
}

.spectrum-Stepper-stepDown {

  padding-bottom: var(--spectrum-global-dimension-size-25);
}

.spectrum-Stepper-textfield {
  -ms-flex: 1;
      flex: 1;
  width: auto;
}

[dir="ltr"] .spectrum-Stepper-input {
  border-top-right-radius: 0;
}

[dir="rtl"] .spectrum-Stepper-input {
  border-top-left-radius: 0;
}

[dir="ltr"] .spectrum-Stepper-input {
  border-bottom-right-radius: 0;
}

[dir="rtl"] .spectrum-Stepper-input {
  border-bottom-left-radius: 0;
}

.spectrum-Stepper-input {
  min-width: 0;
}

.spectrum-Stepper-textfield {
  min-width: 0;
}

.spectrum-Stepper--quiet {
  border-radius: 0;
  width: var(--spectrum-global-dimension-size-600);
}

.spectrum-Stepper--quiet .spectrum-Stepper-buttons {
    border-radius: 0;
  }

[dir="ltr"] .spectrum-Stepper--quiet .spectrum-Stepper-stepUp,[dir="ltr"] 
  .spectrum-Stepper--quiet .spectrum-Stepper-stepDown {

    border-right-width: 0;
}

[dir="rtl"] .spectrum-Stepper--quiet .spectrum-Stepper-stepUp,[dir="rtl"] 
  .spectrum-Stepper--quiet .spectrum-Stepper-stepDown {

    border-left-width: 0;
}

[dir="ltr"] .spectrum-Stepper--quiet .spectrum-Stepper-stepUp,[dir="ltr"] 
  .spectrum-Stepper--quiet .spectrum-Stepper-stepDown {
    border-left: none;
}

[dir="rtl"] .spectrum-Stepper--quiet .spectrum-Stepper-stepUp,[dir="rtl"] 
  .spectrum-Stepper--quiet .spectrum-Stepper-stepDown {
    border-right: none;
}

[dir="ltr"] .spectrum-Stepper--quiet .spectrum-Stepper-stepUp,[dir="ltr"] 
  .spectrum-Stepper--quiet .spectrum-Stepper-stepDown {

    padding-right: 0;
}

[dir="rtl"] .spectrum-Stepper--quiet .spectrum-Stepper-stepUp,[dir="rtl"] 
  .spectrum-Stepper--quiet .spectrum-Stepper-stepDown {

    padding-left: 0;
}

.spectrum-Stepper--quiet .spectrum-Stepper-stepUp,
  .spectrum-Stepper--quiet .spectrum-Stepper-stepDown {
    width: calc(var(--spectrum-global-dimension-size-300) - var(--spectrum-alias-border-size-thin, var(--spectrum-global-dimension-static-size-10)) - (var(--spectrum-global-dimension-size-300) - var(--spectrum-alias-border-size-thin, var(--spectrum-global-dimension-static-size-10))) / 2 + var(--spectrum-icon-chevron-down-small-width, var(--spectrum-global-dimension-size-100)) / 2);
    min-width: 0;
    border-top: none;
    border-radius: 0;
    -ms-flex-pack: end;
        justify-content: flex-end;
  }

[dir="ltr"] .spectrum-Stepper--quiet .spectrum-Stepper-stepUp:after,[dir="ltr"]  .spectrum-Stepper--quiet .spectrum-Stepper-stepDown:after {
      right: calc(((var(--spectrum-global-dimension-size-300) - var(--spectrum-alias-border-size-thin, var(--spectrum-global-dimension-static-size-10))) / 2 - var(--spectrum-icon-chevron-down-small-width, var(--spectrum-global-dimension-size-100)) / 2) * -1);
}

[dir="rtl"] .spectrum-Stepper--quiet .spectrum-Stepper-stepUp:after,[dir="rtl"]  .spectrum-Stepper--quiet .spectrum-Stepper-stepDown:after {
      left: calc(((var(--spectrum-global-dimension-size-300) - var(--spectrum-alias-border-size-thin, var(--spectrum-global-dimension-static-size-10))) / 2 - var(--spectrum-icon-chevron-down-small-width, var(--spectrum-global-dimension-size-100)) / 2) * -1);
}

.spectrum-Stepper--quiet .spectrum-Stepper-stepUp:after, .spectrum-Stepper--quiet .spectrum-Stepper-stepDown:after {
      content: '';
      position: absolute;
      height: 100%;
      width: calc((var(--spectrum-global-dimension-size-300) - var(--spectrum-alias-border-size-thin, var(--spectrum-global-dimension-static-size-10))) / 2 - var(--spectrum-icon-chevron-down-small-width, var(--spectrum-global-dimension-size-100)) / 2);
    }

.spectrum-Stepper:hover:not(.is-disabled):not(.is-invalid):not(.is-focused):not(.is-keyboardFocused) .spectrum-Stepper-stepUp,
    .spectrum-Stepper:hover:not(.is-disabled):not(.is-invalid):not(.is-focused):not(.is-keyboardFocused) .spectrum-Stepper-stepDown,
    .spectrum-Stepper:hover:not(.is-disabled):not(.is-invalid):not(.is-focused):not(.is-keyboardFocused) .spectrum-Stepper-input {
      border-color: var(--spectrum-textfield-border-color-hover, var(--spectrum-alias-border-color-hover));
    }

.spectrum-Stepper.is-focused {
    border-color: var(--spectrum-textfield-border-color-mouse-focus, var(--spectrum-alias-border-color-mouse-focus));
  }

.spectrum-Stepper.is-focused .spectrum-Stepper-stepUp,
    .spectrum-Stepper.is-focused .spectrum-Stepper-stepDown {
      border-color: var(--spectrum-textfield-border-color-mouse-focus, var(--spectrum-alias-border-color-mouse-focus));
    }

.spectrum-Stepper.is-focused .spectrum-Stepper-input {
      border-color: var(--spectrum-textfield-border-color-mouse-focus, var(--spectrum-alias-border-color-mouse-focus));
      box-shadow: none;
    }

.spectrum-Stepper.is-focused.is-invalid {
      border-color: var(--spectrum-textfield-border-color-error-mouse-focus, var(--spectrum-semantic-negative-color-state-hover));
    }

.spectrum-Stepper.is-focused.is-invalid .spectrum-Stepper-stepUp,
      .spectrum-Stepper.is-focused.is-invalid .spectrum-Stepper-stepDown {
        border-color: var(--spectrum-textfield-border-color-error-mouse-focus, var(--spectrum-semantic-negative-color-state-hover));
      }

.spectrum-Stepper.is-focused.is-invalid .spectrum-Stepper-input {
        border-color: var(--spectrum-textfield-border-color-error-mouse-focus, var(--spectrum-semantic-negative-color-state-hover));
      }

.spectrum-Stepper.is-keyboardFocused {
    box-shadow: 0 0 0 1px var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus));
  }

.spectrum-Stepper.is-keyboardFocused .spectrum-Stepper-input,
    .spectrum-Stepper.is-keyboardFocused .spectrum-Stepper-buttons {
      box-shadow: 0 0 0 1px var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus));
    }

.spectrum-Stepper.is-keyboardFocused .spectrum-Stepper-input,
    .spectrum-Stepper.is-keyboardFocused .spectrum-Stepper-stepUp,
    .spectrum-Stepper.is-keyboardFocused .spectrum-Stepper-stepDown {
      border-color: var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus));
    }

.spectrum-Stepper.is-keyboardFocused.is-invalid {
      box-shadow: 0 0 0 1px var(--spectrum-textfield-border-color-error-key-focus, var(--spectrum-alias-border-color-focus));
    }

.spectrum-Stepper.is-keyboardFocused.is-invalid .spectrum-Stepper-stepUp,
      .spectrum-Stepper.is-keyboardFocused.is-invalid .spectrum-Stepper-stepDown {
        border-color: var(--spectrum-textfield-border-color-error-key-focus, var(--spectrum-alias-border-color-focus));
      }

.spectrum-Stepper.is-keyboardFocused.is-invalid .spectrum-Stepper-buttons {
        box-shadow: 0 0 0 1px var(--spectrum-textfield-border-color-error-key-focus, var(--spectrum-alias-border-color-focus));
      }

.spectrum-Stepper.is-invalid .spectrum-Stepper-stepUp,
    .spectrum-Stepper.is-invalid .spectrum-Stepper-stepDown {
      border-color: var(--spectrum-textfield-border-color-error, var(--spectrum-semantic-negative-color-default));
    }

.spectrum-Stepper.is-invalid .spectrum-Stepper-input {
      border-color: var(--spectrum-textfield-border-color-error, var(--spectrum-semantic-negative-color-default));
    }

.spectrum-Stepper.is-invalid.is-keyboardFocused .spectrum-Stepper-input {
        border-color: var(--spectrum-textfield-border-color-error-key-focus, var(--spectrum-alias-border-color-focus));
        box-shadow: 0 0 0 1px var(--spectrum-textfield-border-color-error-key-focus, var(--spectrum-alias-border-color-focus));
      }

.spectrum-Stepper.is-invalid.is-keyboardFocused .spectrum-Stepper-buttons {
        box-shadow: 0 0 0 1px var(--spectrum-textfield-border-color-error-key-focus, var(--spectrum-alias-border-color-focus));
      }

.spectrum-Stepper.is-disabled .spectrum-Stepper-stepUp,
    .spectrum-Stepper.is-disabled .spectrum-Stepper-stepDown {
      border-color: var(--spectrum-textfield-border-color-disabled, var(--spectrum-alias-border-color-transparent));
    }

.spectrum-Stepper-stepUp,
.spectrum-Stepper-stepDown {
  border-color: var(--spectrum-textfield-border-color, var(--spectrum-alias-border-color));
}

.spectrum-Stepper-stepUp:disabled, .spectrum-Stepper-stepDown:disabled {
    border-color: var(--spectrum-textfield-border-color-disabled, var(--spectrum-alias-border-color-transparent));
  }

.spectrum-Stepper--quiet.is-disabled .spectrum-Stepper-stepUp,
    .spectrum-Stepper--quiet.is-disabled .spectrum-Stepper-stepDown {
      border-color: var(--spectrum-textfield-quiet-border-color-disabled, var(--spectrum-alias-border-color-mid));
    }

.spectrum-Stepper--quiet .spectrum-Stepper-stepUp,
  .spectrum-Stepper--quiet .spectrum-Stepper-stepDown {
    border-color: var(--spectrum-textfield-quiet-border-color, var(--spectrum-alias-border-color));
  }

.spectrum-Stepper--quiet .spectrum-Stepper-stepUp:disabled, .spectrum-Stepper--quiet .spectrum-Stepper-stepDown:disabled {
      border-color: var(--spectrum-textfield-quiet-border-color-disabled, var(--spectrum-alias-border-color-mid));
    }

.spectrum-Stepper--quiet .spectrum-Stepper-input {
    box-shadow: none;
  }

.spectrum-Stepper--quiet.is-invalid .spectrum-Stepper-input {
      border-color: var(--spectrum-textfield-border-color-error, var(--spectrum-semantic-negative-color-default));
    }

.spectrum-Stepper--quiet.is-invalid .spectrum-Stepper-stepDown {
      border-color: var(--spectrum-textfield-border-color-error, var(--spectrum-semantic-negative-color-default));
    }

.spectrum-Stepper--quiet.is-keyboardFocused,
  .spectrum-Stepper--quiet.is-focused {
    box-shadow: none;
  }

.spectrum-Stepper--quiet.is-keyboardFocused .spectrum-Stepper-buttons,
    .spectrum-Stepper--quiet.is-keyboardFocused .spectrum-Stepper-input,
    .spectrum-Stepper--quiet.is-focused .spectrum-Stepper-buttons,
    .spectrum-Stepper--quiet.is-focused .spectrum-Stepper-input {
      box-shadow: 0 1px 0 0 var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus));
    }

.spectrum-Stepper--quiet.is-keyboardFocused .spectrum-Stepper-stepDown, .spectrum-Stepper--quiet.is-focused .spectrum-Stepper-stepDown {
      border-color: var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus));
    }

.spectrum-Stepper--quiet.is-keyboardFocused.is-invalid, .spectrum-Stepper--quiet.is-focused.is-invalid {
      box-shadow: none;
    }

.spectrum-Stepper--quiet.is-keyboardFocused.is-invalid .spectrum-Stepper-input,
      .spectrum-Stepper--quiet.is-keyboardFocused.is-invalid .spectrum-Stepper-buttons,
      .spectrum-Stepper--quiet.is-focused.is-invalid .spectrum-Stepper-input,
      .spectrum-Stepper--quiet.is-focused.is-invalid .spectrum-Stepper-buttons {
        box-shadow: 0 1px 0 0 var(--spectrum-textfield-border-color-error, var(--spectrum-semantic-negative-color-default));
      }

.spectrum-Stepper--quiet.is-keyboardFocused.is-invalid .spectrum-Stepper-input, .spectrum-Stepper--quiet.is-focused.is-invalid .spectrum-Stepper-input {
        border-color: var(--spectrum-textfield-border-color-error, var(--spectrum-semantic-negative-color-default));
      }

.spectrum-Stepper--quiet.is-keyboardFocused.is-invalid .spectrum-Stepper-stepDown, .spectrum-Stepper--quiet.is-focused.is-invalid .spectrum-Stepper-stepDown {
        border-color: var(--spectrum-textfield-border-color-error, var(--spectrum-semantic-negative-color-default));
      }
